package org.schedule.service;

import org.schedule.entity.Schedule;

import java.util.List;

public interface ScheduleService {

    boolean addSchedule(Schedule schedule);

    boolean updateSchedule(Schedule schedule);

    boolean deleteSchedule(Integer id);

    List<Schedule> getAllSchedules();

    List<Schedule> getSchedulesByUserId(Integer userId);

    Schedule getScheduleById(Integer id);

    List<Schedule> searchSchedulesByContent(Integer userId , String content);

}
